Password Protection
Gatekeeper (In)
Here is how to use the Gatekeeper on your own site. Just put the first code into the opener document. Put the second script into a new document (gatekeep.html), save the gatekeeper image, and create the protected file. |
How to Determine Your Password: The password for that password protection script isn't actually in the code, it's just the filename of the protected page without the .html ending. For example, if your protected file is called 'secret.html' the password would be 'secret' (without quotes). It's relatively simple, but it works! Also, make sure that that you have an 'index.html' page on your site, to prevent people from defeating this script by getting your directly listing. |
JavaScript Source Code 2002: Password Protection: Gatekeeper
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!! |
JavaScript Source Code 2002: Password Protection: Gatekeeper (Gatekeep Page)
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!! |
|